package mydictionary;

/**
 * @author Administrator
 * 实体类（标准类）
 */
public class MyDictionary {
  private int id;
  private String english;
  private String chinese;
  private String comments;

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  @Override
  public String toString() {
    return "MyDictionary{" +
        "id=" + id +
        ", english='" + english + '\'' +
        ", chinese='" + chinese + '\'' +
        ", comments='" + comments + '\'' +
        '}';
  }

  public MyDictionary() {
  }

  public MyDictionary(int id, String english, String chinese, String comments) {
    this.id = id;
    this.english = english;
    this.chinese = chinese;
    this.comments = comments;
  }

  public String getEnglish() {
    return english;
  }

  public void setEnglish(String english) {
    this.english = english;
  }

  public String getChinese() {
    return chinese;
  }

  public void setChinese(String chinese) {
    this.chinese = chinese;
  }

  public String getComments() {
    return comments;
  }

  public void setComments(String comments) {
    this.comments = comments;
  }
}
